﻿@using MediaGarden.Models;
@{
    /* Image View Shape
     * TODO: Allow *wrapping* with an anchor to full-size version of image, as well as lightbox-style attributes
     */
    int width = Model.DisplayWidth;
    int height = Model.DisplayHeight;
}
<img src="@Model.MediaUrl" title="@Model.Title" alt="@Model.Description"@if(width>0){<text> width="@width"</text>}@if(height>0){<text> height="@height"</text>} />
